﻿@using Windvoice.Blog
@{
    ViewBag.Title = "Links";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@if (ViewBag.ImageLinks!=null && ((Link[])ViewBag.ImageLinks).Length > 0)
{
    <div class="linkarea">
        <h5>Image Links</h5>
        <ul class="imagelink">
            @foreach (var link in (Link[])ViewBag.ImageLinks)
            { 
                <li>
                    <a target="_blank" href="@link.LinkUrl"><img src="@link.Title" /></a>
                </li>
            }
            <div class="clear"></div>
        </ul>
    </div>
}

@if (ViewBag.TextLinks!=null && ((Link[])ViewBag.TextLinks).Length > 0)
{
    <div class="linkarea">
        <h5>Text Links</h5>
        <ul class="textlink">
            @foreach (var link in (Link[])ViewBag.TextLinks)
            { 
                <li>
                    <a target="_blank" href="@link.LinkUrl">@link.Title</a>
                </li>
            }
            <div class="clear"></div>
        </ul>
    </div>
}


<div class="linkarea">
    <h5>Request</h5>
    <ul class="request">
        <p>&nbsp;Please contact me with</p>
        <p class="mail"><img src="/Content/images/mail.gif"/></p>
    </ul>
</div>